package com.hee.erp.modules.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author weizehong
 * @since 2022-03-22
 */
@Getter
@Setter
@TableName("t_sys_job")
@ApiModel(value = "SysJob对象", description = "")
public class SysJob implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @ApiModelProperty("岗位")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty("招聘类型")
    @TableField("type")
    private Integer type;

    @TableField(exist = false)
    private String typeName;

    @TableField("role_type")
    private Integer roleType;

    @TableField(exist = false)
    private String roleTypeName;

    @ApiModelProperty("办公地址")
    @TableField("work_address")
    private String workAddress;

    @ApiModelProperty("学历")
    @TableField("education")
    private Integer education;

    @TableField(exist = false)
    private String educationName;

    @TableField("company_id")
    private String companyId;
    @TableField(exist = false)
    private String companyName;

    @TableField("depart_id")
    private String departId;
    @TableField(exist = false)
    private String departName;

    @TableField("status")
    private Integer status;
    @TableField(exist = false)
    private String statusName;
    @ApiModelProperty("工作年限")
    @TableField("work_years")
    private String workYears;

    @ApiModelProperty("薪资范围")
    @TableField("salary_range")
    private String salaryRange;

    @ApiModelProperty("发布地址")
    @TableField("publish_site")
    private String publishSite;

    @TableField("publish_date")
    private LocalDate publishDate;

    @ApiModelProperty("截止时间")
    @TableField("deadline")
    private String deadline;

    @ApiModelProperty(" 岗位职责")
    @TableField("role_desc")
    private String roleDesc;

    @TableField(value = "del_flag",fill = FieldFill.INSERT)
    private Boolean delFlag;

    @TableField(value = "create_user",fill = FieldFill.INSERT)
    private String createUser;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "modify_user",fill = FieldFill.INSERT_UPDATE)
    private String modifyUser;

    @TableField(value = "modify_time",fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;

    private String welfare;


}
